// 自带模块
var http = require("http");
var url = require("url");


// 普通模块


function start(route,handle){
    http.createServer(function(request,response){
        var pathname = url.parse(request.url).pathname;
        route(handle,pathname,response,request);
    }).listen(3000);
}

exports.start = start;
